// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:24


// Source File Name:   rk.java

package com.zelix;



//            qk, op, ol, mh, 
//            il, uh, vh, si, 
//            nh

public class rk extends qk
{

    private boolean i;
    private boolean j;
    private static String z;

    public rk(int i1)
    {
        super(i1);
    }

    double a(op op1)
    {
        double d;
label0:
        {
            int i1;
label1:
            {
                i1 = si.g;
                d = 1.0D;
                mh mh1 = (mh)a(0);
                if(!(mh1 instanceof ol))
                    break label0;
                String s = mh1.a();
                if(s == null || il.l(s))
                    break label1;
                if(!il.h(s))
                {
                    d *= 0.10000000000000001D;
                    if(i1 == 0)
                        break label1;
                }
                d *= 0.5D;
            }
label2:
            {
                if(op1 == null)
                    break label0;
                if(op1.t())
                {
                    d *= 0.5D;
                    if(i1 == 0)
                        break label2;
                }
                if(op1.q())
                    d *= 0.5D;
            }
            if(op1.e())
                d *= 0.10000000000000001D;
            if(op1.f())
            {
                d *= 0.10000000000000001D;
                if(i1 == 0)
                    break label0;
            }
            if(op1.c())
                d *= 0.10000000000000001D;
        }
        return d;
    }

    public String a()
    {
        return ((mh)a(0)).a() + (i ? "^" : "") + (j ? z : "");
    }

    public void a(uh uh1, nh nh)
    {
        a(0).a(this, nh);
        if(uh1 instanceof il)
            ((il)uh1).a(this);
    }

    boolean i()
    {
        return i;
    }

    boolean j()
    {
        return i;
    }

    boolean k()
    {
        return j;
    }

    public void l()
    {
        i = true;
    }

    public void m()
    {
        j = true;
    }
                private static String dees(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x18;
                    break;
                case 1:
                    key = 102;
                    break;
                case 2:
                    key = 120;
                    break;
                case 3:
                    key = 34;
                    break;
                default:
                    key = 19;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }
    static 
    {
        z = dees("8M".toCharArray());

    }
}